package com.clinic.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;

@Entity
@PrimaryKeyJoinColumn(name = "is_obj_id")
public class Lab_analysis extends Health_report {

	private static final long serialVersionUID = 1L;

	@Column(insertable = false, updatable = false)
	private int is_obj_id;

	public Lab_analysis() {
		super();
	}

	public Lab_analysis(String obj_owner_name, String report_type,
			int dr_obj_id, int cc_obj_id, Date report_date, Date next_visit) {
		super(obj_owner_name, report_type, dr_obj_id, cc_obj_id, report_date,
				next_visit);
	}

	public int getIs_obj_id() {
		return is_obj_id;
	}

	@Override
	public void _toString() {
		System.out.println("Enter - _toString");
		super._toString();
		System.out.println("is_obj_id: " + this.is_obj_id);
		System.out.println("Exit - _toString");
	}
}